
$priceColor: #d43030;

.cart {
    overflow-x: hidden;
    .top {
        display: flex;
        justify-content: space-between;
       
        background: #f4f4f4;
        div {
            background: url(../../static/images/servicePolicyRed.png) 0 center no-repeat;
            background-size: 10rpx;
            padding-left: 15rpx;
            display: flex;
            align-items: center;
            font-size: 25rpx;
            color: #666;
        }
    }
    .cartlist {
        // border-top: 1rpx solid #d9d9d9;
        background: #fff;
        margin-bottom: 110rpx;
        .item {
            padding: 20rpx 0;
			padding-top: 0;
            position: relative;
			
			.icon {
			    width: 34rpx;
			    background: url(../../static/images/checkbox-unchecked.png) no-repeat center center;
			    background-size: 34rpx 34rpx;
			    margin: 0 20rpx;
				//margin-top: 5rpx;
			}
			.icon.active {
			    background: url(../../static/images/checkbox-checked.png) no-repeat center center;
			    background-size: 34rpx 34rpx;
			}
			
			.category{
				display: flex;
				padding: 15rpx;
				padding-left: 0;
				background-color: #f4f4f4;
				color: #0081FF;
				font-weight: 600;
			}
            .con {
                display: flex;
                align-items: center;
                justify-content: space-between;
                transition: all 300ms ease;
				padding-top: 15px;
                .left {
                    display: flex;
                    align-items: center;
					.icon {
						height: 72rpx;
					}
                    .info {
                        width: 200px;
                        padding: 10rpx;
                        p {
                            font-size: 26rpx;
                            line-height: 40rpx;
                            text-overflow: ellipsis;
                            overflow: hidden;
                        }
                        .small {
                            font-size: 24rpx;
                        }
                    }
                }
                .right {
					flex-grow: 3;
					height: 100%;
                    padding-right: 25rpx;
                    align-items: center;
                    text-align: center;
					
					.ctr{
						display: flex;
						justify-content: space-between;
						
						.info{
							width: 200px;
							font-size: 14px;
							padding-bottom: 2rpx;
							padding-top: 2rpx;
							text-overflow: ellipsis;
							overflow: hidden;

							.price{
								//margin-left: 10rpx;
								color: $priceColor;
							}
						}
					}
					image{
						width: 260rpx;
						height: 164rpx;
						margin-right: 16rpx;
						margin-left: 2px;
						border: 1px solid #d6d6d6;
						padding: 10rpx;
					}
					
                    input {
                        /* #ifdef H5 || APP-PLUS */
                        height: 59rpx;
                        /* #endif */
                        /* #ifdef MP */
                        height: 55rpx;
                        /* #endif */
                        line-height: 55rpx;
                        width: 60rpx;
                        font-size: 26rpx;
                        border-top: 2rpx solid #d9d9d9;
                        border-bottom: 2rpx solid #d9d9d9;
                        text-align: center;
                        padding: 0;
                    }
                    span {
                        width: 55rpx;
                        height: 55rpx;
                        line-height: 55rpx;
                        /* #ifdef APP-PLUS */
                        height: 59rpx;
                        line-height: 59rpx;
                        /* #endif */
                        font-size: 20rpx;
                        color: #999;
                        border: 2rpx solid #d9d9d9;
                    }
                }
            }
            .delete {
                position: absolute;
                width: 100rpx;
                top: 0;
                right: -100rpx;
                text-align: center;
                height: 100%;
                background: #b4282d;
                color: #fff;
                transition: all 200ms ease;
                display: flex;
                align-items: center;
                justify-content: center;
                div {
                    color: #fff;
                }
            }
        }
    }
	.text {
		width: 100%;
		height: 60upx;
		font-size: 28upx;
		color: #444;
		display: flex;
		justify-content: center;
		align-items: center;
	}
    .fixed {
        position: fixed;
        /* #ifdef H5 */
        bottom: 50px;
        /* #endif */
        /* #ifdef APP-PLUS  */
        bottom: 0px;
        /* #endif */
        /* #ifdef MP */
        bottom: 0;
        /* #endif */
        left: 0;
        height: 80rpx;
        line-height: 80rpx;
        width: 100%;
        background: #f4f4f4;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        .left {
            display: flex;
            align-items: center;
            background: url(../../static/images/checkbox-unchecked.png) no-repeat;
            background-size: 34rpx 34rpx;
            background-position: 20rpx;
            padding-left: 70rpx;
        }
        .active {
            background: url(../../static/images/checkbox-checked.png) no-repeat;
            background-size: 34rpx 34rpx;
            background-position: 20rpx;
        }
		.price {
			margin-left: 30rpx;
			color: $priceColor;
		}
        .right {
            display: flex;
            div:nth-child(1) {
                color: #007aff;
                padding-right: 40rpx;
            }
            div:nth-child(2) {
                width: 210rpx;
                height: 80rpx;
                text-align: center;
                line-height: 80rpx;
                font-size: 29rpx;
                background: #1cbbb4;
                color: #fff;
            }
        }
    }
	.opts {
		flex-grow: .5;
		display: flex;
		justify-content: space-between;
		align-items: center;
		
		.iconfont{
			font-size: 24rpx;
			border: 1rpx solid #ccc;
			padding: 12rpx;
		}
	}
    .nogoods {
        margin-top: 200rpx;
        img {
            margin: 0 auto;
            display: block;
            width: 258rpx;
            height: 258rpx;
        }
    }
}